<?
$event_titles=Array("","Jyothirlingam Service 2012 - 2013","Teachers - Get Together","Wing Events - 2012");
$pevent_titles=Array("","Platinum Jubilee - Island Grounds","Hindu Fair - Chennai","Womens Day - Program","Spirituality in Researchers","Student Summer Camp","Rajyoga Retreat - SVC","Tobacco Day");
$eventId=(int)$_GET["uevent"];
$peventId=(int)$_GET["event"];
$eventId=($eventId==0 && $peventId==0)?1:$eventId;


?>

<style type="text/css">
#schedule
{
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
width:100%;
border-collapse:collapse;
}
#schedule td, #schedule th 
{
font-size:1.0em;
border:1px solid #666;
padding:3px 7px 8px 7px;
}
#schedule td:first-child{
    font-weight:bold;
    background:#f2f2f2;
}

#schedule td:nth-child(2),td:nth-child(3){
    text-decoration:underline;
}
#schedule th 
{
font-size:1.1em;
text-align:left;
padding-top:2px;
padding-bottom:2px;
background-color:#666;
color:#fff;
}
#schedule tr.alt td 
{
color:#000;
background-color:#EAF2D3;
}
</style>

<div style="border-bottom:1px solid #666;padding-bottom:3px;">
    <?if($eventId>=1) {?>
    <h3>
        <?=$event_titles[$eventId]?></h3>
    <? }?>
    <?if($peventId>=1) {?>
    <h3>
        <?=$pevent_titles[$peventId]?></h3>
    <? }?></div>

<?if($eventId==1) {?>
<br/>
<table width="100%" border="1" cellpadding="3" cellspacing="0" id="schedule">
    <tr>
        <th width="30%">Location</th>
        <th width="30%">Date From</th>
        <th width="30%">Date To</th>

    </tr>

    <tr>
        <td>Hosur</td>
        <td>30-06-2012</td>
        <td>04-07-2012</td>

    </tr>

    <tr>
        <td>Coimbatore</td>
        <td>01-08-2012</td>
        <td>05-08-2012</td>
    </tr>
    <tr>
        <td>Punnalur</td>
        <td>05-09-2012</td>
        <td>09-09-2012</td>
    </tr>
    <tr>
        <td>Alapuzha</td>
        <td>12-09-2012</td>
        <td>16-09-2012</td>
    </tr>
    <tr>
        <td>Adoor</td>
        <td>19-09-2012</td>
        <td>23-09-2012</td>
    </tr>
    <tr>
        <td>Erode</td>
        <td>26-09-2012</td>
        <td>30-09-2012</td>
    </tr>
    <tr>
        <td>Katampazhipuram</td>
        <td>27-12-2012</td>
        <td>31-12-2012</td>

    </tr>
    <tr>
        <td>Nedumankadu</td>
        <td colspan="2">October</td>

    </tr>
    <tr>
        <td>Attur</td>
        <td colspan="2">Jan 1st or Last week 2013</td>

    </tr>
    <tr>
    <td>Trivandrum</td>
    <td colspan="2">December</td>

</tr>

</table>
<br></br>
<div style="border-bottom:1px solid #666;padding-bottom:3px;">

<h3>Service Photos
   </h3>
</div>
<? }?>